﻿using System.ComponentModel.DataAnnotations;

namespace AnQinFrameWorkAPI.Entity.Blog.DTO.BlogDevelopHistory;

/// <summary>
///     发展历程新增模型
/// </summary>
public class BlogDevelopHistoryAddDTO
{
    /// <summary>
    ///     发展历程编码
    /// </summary>
    [Required(ErrorMessage = "发展历程编码不可为空")]
    public string Code { get; set; }

    /// <summary>
    ///     发展历程名称
    /// </summary>
    [Required(ErrorMessage = "发展历程名称不可为空")]
    public string Name { get; set; }

    /// <summary>
    ///     发展历程标题
    /// </summary>
    [Required(ErrorMessage = "发展历程标题不可为空")]
    public string Title { get; set; }

    /// <summary>
    ///     发展历程介绍
    /// </summary>
    [Required(ErrorMessage = "发展历程介绍不可为空")]
    public string Introduce { get; set; }
}